function changeContent(link) {
	xmlhttp=new XMLHttpRequest();
	if (xmlhttp==null) {
		alert ("Your browser does not support AJAX!");
		return;
	}
	
	xmlhttp.onreadystatechange = function() {
		if (xmlhttp.readyState == 4){
			document.getElementById("content").innerHTML = xmlhttp.responseText;
		}
	};
	xmlhttp.open("GET", link, true);
	xmlhttp.send();
}

function handleChartForm(){
	var test = parent.document.getElementById('startdateanchor').getAttribute('startdate');
	var test2 = document.getElementById("chartform").getAttribute("type");
	alert(test);
	alert(test2);
	
	if (document.getElementById && (element =
		document.getElementById('startdateanchor'))) {
	}
}

function test(){
	var d = new Date(new Long("1294413000000"));
	"" + d.getFullYear() + "-" + d.getMonth() + "-" + d.getDay() + " " + d.getHours() + ":" + d.getMinutes() 
}